{% extends "D3hdvDiablo3Bundle::layout.html.twig" %}
{% block title %}
Admin D3 - Login Admin {{ parent() }}
{% endblock %}


{% block body %}
<div align="left">
<br />
<span class="monTitre">Connexion Admin</span>
<br /><br />
</div>

    {% if error %}
        <div class="error">{{ error.message }}</div>
    {% endif %}
 
    <form action="{{ path('_security_check_admin') }}" method="POST">
        
        <input type="hidden" name="_target_path" value="{{ url('D3hdv_diablo3_admin') }}" />

        <div>
            <label for="username">Login:</label>
            <input type="text" id="username" name="_username" value="{{ last_username }}" />
        </div>
        
        <div>
            <label for="password">Mot de passe:</label>
            <input type="password" id="password" name="_password" />
        </div>  
        
        <input type="submit" name="login" value="submit" />
        
    </form>
{% endblock %}
